# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


# DoubanItem 类是一个 Scrapy Item，用于定义爬取 Douban 网站时需要抓取的字段
# items.py负责定义存储数据的类型
class DoubanItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    # title：用于存储 Douban 页面中标题的信息。
    # publish：用于存储 Douban 页面中出版信息。
    # score：用于存储 Douban 页面中评分信息。
    title = scrapy.Field()
    publish = scrapy.Field()
    score = scrapy.Field()
